package bx.com.smartcashier.mode;



import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class SmartShopOrderDetail {
    /**
     * 订单明细Id
     */
    private Integer id;
    /**
     * 订单Id
     */
    private Integer shopOrderId;
    /**
     * 商品编码
     */
    private String goodsCode;
    /**
     * 数量
     */
    private Integer count;
    /**
     * 折扣
     */
    private String discountRate;
    /**
     * 商品价格
     */
    private BigDecimal retailPrice;
    /**
     * 仓库Id
     */
    private Integer warehouseId;
    /**
     * 折扣后的价格
     */
    private BigDecimal discountPrice;
    /**
     * 商品颜色
     */
    private String goodColor;
    /**
     * 商品名称
     */
    private String goodsName;
    /**
     * 商品型号
     */
    private String goodSize;
    /**
     * 修改时间
     */
    private String gmtModify;
    /**
     * 创建时间
     */
    private Date gmtCreate;
    /**
     * 唯一码
     */
    private Integer goodEpcid;
    /**
     * GoodsDetailId
     */
    private Integer goodsDetailId;
    /**
     * 1 正常 -1 删除
     */
    private Integer status;

    private String codes;

    private Integer operator;

    private List<Integer> smartShopOrderDetailIds;

    private String note;
    /**
     * 默认值0
     */
    private Integer returnCount = 0;

    private String totalSellAmount;

    private String endTime;

    private String startTime;

    private String alipayAmount;

    private String wechatAmount;

    private String moneyAmount;

    private String vipAmount;

    private String cardAmount;

    private String returnAmount;

    private Integer memberCount;

    private Integer firstPayType;

    private Integer secondPayType;

    private BigDecimal firstPayMoney;

    private BigDecimal secondPayMoney;

    private Integer shopId;

    private Integer realCount;

    private Integer totalReturnCount;

    private Integer type;

    private List<Integer> shopIds;

    private Integer companyId;

    private Integer distributorId;

    private Double relatedNum;

    private Integer skuCount;

    private Integer sellCount;

    private Integer tag;

    private Integer totalSellCount;

    private String createTime;

    private  boolean isSale=true;


    public SmartShopOrderDetail() {
    }

    public SmartShopOrderDetail(Integer id, Integer shopOrderId, String goodsCode, Integer count, String discountRate, BigDecimal retailPrice, Integer warehouseId, BigDecimal discountPrice, String goodColor, String goodsName, String goodSize, String gmtModify, Date gmtCreate, Integer goodEpcid, Integer goodsDetailId, Integer status, String codes, Integer operator, List<Integer> smartShopOrderDetailIds, String note, Integer returnCount, String totalSellAmount, String endTime, String startTime, String alipayAmount, String wechatAmount, String moneyAmount, String vipAmount, String cardAmount, String returnAmount, Integer memberCount, Integer firstPayType, Integer secondPayType, BigDecimal firstPayMoney, BigDecimal secondPayMoney, Integer shopId, Integer realCount, Integer totalReturnCount, Integer type, List<Integer> shopIds, Integer companyId, Integer distributorId, Double relatedNum, Integer skuCount, Integer sellCount, Integer tag, Integer totalSellCount, String createTime, boolean isSale) {
        this.id = id;
        this.shopOrderId = shopOrderId;
        this.goodsCode = goodsCode;
        this.count = count;
        this.discountRate = discountRate;
        this.retailPrice = retailPrice;
        this.warehouseId = warehouseId;
        this.discountPrice = discountPrice;
        this.goodColor = goodColor;
        this.goodsName = goodsName;
        this.goodSize = goodSize;
        this.gmtModify = gmtModify;
        this.gmtCreate = gmtCreate;
        this.goodEpcid = goodEpcid;
        this.goodsDetailId = goodsDetailId;
        this.status = status;
        this.codes = codes;
        this.operator = operator;
        this.smartShopOrderDetailIds = smartShopOrderDetailIds;
        this.note = note;
        this.returnCount = returnCount;
        this.totalSellAmount = totalSellAmount;
        this.endTime = endTime;
        this.startTime = startTime;
        this.alipayAmount = alipayAmount;
        this.wechatAmount = wechatAmount;
        this.moneyAmount = moneyAmount;
        this.vipAmount = vipAmount;
        this.cardAmount = cardAmount;
        this.returnAmount = returnAmount;
        this.memberCount = memberCount;
        this.firstPayType = firstPayType;
        this.secondPayType = secondPayType;
        this.firstPayMoney = firstPayMoney;
        this.secondPayMoney = secondPayMoney;
        this.shopId = shopId;
        this.realCount = realCount;
        this.totalReturnCount = totalReturnCount;
        this.type = type;
        this.shopIds = shopIds;
        this.companyId = companyId;
        this.distributorId = distributorId;
        this.relatedNum = relatedNum;
        this.skuCount = skuCount;
        this.sellCount = sellCount;
        this.tag = tag;
        this.totalSellCount = totalSellCount;
        this.createTime = createTime;
        this.isSale = isSale;
    }

    public boolean getIsSale() {
        return isSale;
    }

    public void setIsSale(boolean sale) {
        isSale = sale;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getShopOrderId() {
        return shopOrderId;
    }

    public void setShopOrderId(Integer shopOrderId) {
        this.shopOrderId = shopOrderId;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getDiscountRate() {
        return discountRate;
    }

    public void setDiscountRate(String discountRate) {
        this.discountRate = discountRate;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }

    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }

    public BigDecimal getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(BigDecimal discountPrice) {
        this.discountPrice = discountPrice;
    }

    public String getGoodColor() {
        return goodColor;
    }

    public void setGoodColor(String goodColor) {
        this.goodColor = goodColor;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodSize() {
        return goodSize;
    }

    public void setGoodSize(String goodSize) {
        this.goodSize = goodSize;
    }

    public String getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(String gmtModify) {
        this.gmtModify = gmtModify;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Integer getGoodEpcid() {
        return goodEpcid;
    }

    public void setGoodEpcid(Integer goodEpcid) {
        this.goodEpcid = goodEpcid;
    }

    public Integer getGoodsDetailId() {
        return goodsDetailId;
    }

    public void setGoodsDetailId(Integer goodsDetailId) {
        this.goodsDetailId = goodsDetailId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCodes() {
        return codes;
    }

    public void setCodes(String codes) {
        this.codes = codes;
    }

    public Integer getOperator() {
        return operator;
    }

    public void setOperator(Integer operator) {
        this.operator = operator;
    }

    public List<Integer> getSmartShopOrderDetailIds() {
        return smartShopOrderDetailIds;
    }

    public void setSmartShopOrderDetailIds(List<Integer> smartShopOrderDetailIds) {
        this.smartShopOrderDetailIds = smartShopOrderDetailIds;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Integer getReturnCount() {
        return returnCount;
    }

    public void setReturnCount(Integer returnCount) {
        this.returnCount = returnCount;
    }

    public String getTotalSellAmount() {
        return totalSellAmount;
    }

    public void setTotalSellAmount(String totalSellAmount) {
        this.totalSellAmount = totalSellAmount;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getAlipayAmount() {
        return alipayAmount;
    }

    public void setAlipayAmount(String alipayAmount) {
        this.alipayAmount = alipayAmount;
    }

    public String getWechatAmount() {
        return wechatAmount;
    }

    public void setWechatAmount(String wechatAmount) {
        this.wechatAmount = wechatAmount;
    }

    public String getMoneyAmount() {
        return moneyAmount;
    }

    public void setMoneyAmount(String moneyAmount) {
        this.moneyAmount = moneyAmount;
    }

    public String getVipAmount() {
        return vipAmount;
    }

    public void setVipAmount(String vipAmount) {
        this.vipAmount = vipAmount;
    }

    public String getCardAmount() {
        return cardAmount;
    }

    public void setCardAmount(String cardAmount) {
        this.cardAmount = cardAmount;
    }

    public String getReturnAmount() {
        return returnAmount;
    }

    public void setReturnAmount(String returnAmount) {
        this.returnAmount = returnAmount;
    }

    public Integer getMemberCount() {
        return memberCount;
    }

    public void setMemberCount(Integer memberCount) {
        this.memberCount = memberCount;
    }

    public Integer getFirstPayType() {
        return firstPayType;
    }

    public void setFirstPayType(Integer firstPayType) {
        this.firstPayType = firstPayType;
    }

    public Integer getSecondPayType() {
        return secondPayType;
    }

    public void setSecondPayType(Integer secondPayType) {
        this.secondPayType = secondPayType;
    }

    public BigDecimal getFirstPayMoney() {
        return firstPayMoney;
    }

    public void setFirstPayMoney(BigDecimal firstPayMoney) {
        this.firstPayMoney = firstPayMoney;
    }

    public BigDecimal getSecondPayMoney() {
        return secondPayMoney;
    }

    public void setSecondPayMoney(BigDecimal secondPayMoney) {
        this.secondPayMoney = secondPayMoney;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getRealCount() {
        return realCount;
    }

    public void setRealCount(Integer realCount) {
        this.realCount = realCount;
    }

    public Integer getTotalReturnCount() {
        return totalReturnCount;
    }

    public void setTotalReturnCount(Integer totalReturnCount) {
        this.totalReturnCount = totalReturnCount;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public List<Integer> getShopIds() {
        return shopIds;
    }

    public void setShopIds(List<Integer> shopIds) {
        this.shopIds = shopIds;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getDistributorId() {
        return distributorId;
    }

    public void setDistributorId(Integer distributorId) {
        this.distributorId = distributorId;
    }

    public Double getRelatedNum() {
        return relatedNum;
    }

    public void setRelatedNum(Double relatedNum) {
        this.relatedNum = relatedNum;
    }

    public Integer getSkuCount() {
        return skuCount;
    }

    public void setSkuCount(Integer skuCount) {
        this.skuCount = skuCount;
    }

    public Integer getSellCount() {
        return sellCount;
    }

    public void setSellCount(Integer sellCount) {
        this.sellCount = sellCount;
    }

    public Integer getTag() {
        return tag;
    }

    public void setTag(Integer tag) {
        this.tag = tag;
    }

    public Integer getTotalSellCount() {
        return totalSellCount;
    }

    public void setTotalSellCount(Integer totalSellCount) {
        this.totalSellCount = totalSellCount;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}

